From ca4154551d30b2c2ea4b21b392714b906bfa8a52 Mon Sep 17 00:00:00 2001 From: Robert Lipe Date: Mon, 16 Mar 2020 05:06:27 -0500 Subject: [PATCH] Suspend uploading to transfer.sh. Sites refer to it as "now broken" and "pending sale". My own testing shows that it saturates all the sockets for a connection and dies with zero bytes transferred. Build server is about the same. This is a mechanical side-port of 33085422627563885c59e60d47d1c9085f48e9a4 which went to the trunk instead of the branch, wheree it'sn needed. Same code --- tools/uploadtool/upload.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/uploadtool/upload.sh b/tools/uploadtool/upload.sh index f39955038..771cc161e 100755 --- a/tools/uploadtool/upload.sh +++ b/tools/uploadtool/upload.sh @@ -51,6 +51,10 @@ if [ "$TRAVIS_EVENT_TYPE" == "pull_request" ] ; then rm -f ./uploaded-to for FILE in "$@" ; do BASENAME="$(basename "${FILE}")" + + echo "Uploading $BASENAME to upload.sh has been suspended as o 03/16 -- rjl" + break + curl --upload-file $FILE "https://transfer.sh/$BASENAME" > ./one-upload echo "$(cat ./one-upload)" # this way we get a newline echo -n "$(cat ./one-upload)\\n" >> ./uploaded-to # this way we get a \n but no newline -- 2.30.2